package com.sun.dailyprj.designpatterns.chain;

public class DisclaimerToast extends InterceptChain{

    public DisclaimerToast(String tag) {
        super(tag);
        System.out.println("DisclaimerToast construct : " + tag);
    }

    @Override
    void next(String tag) {
        System.out.println("DisclaimerToast next : " + tag);
    }

    @Override
    void cancel(String tag) {
        System.out.println("DisclaimerToast cancel : " + tag);
    }

    @Override
    void other(String tag) {
        System.out.println("DisclaimerToast other : " + tag);
    }

}
